/*
 * @Author: your name
 * @Date: 2020-05-09 15:23:28
 * @LastEditTime: 2020-05-09 15:47:37
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \5.9\hh\src\router\index.js
 */
import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue';
import HH from '../views/HH.vue';
//import List from '../views/list.vue';

Vue.use(VueRouter)

const routes = [
    {
        path: '/',
        name: 'Home',
        component: Home
    },
    {
        path: '/hh',
        name: 'HH',
        component:HH
    },

]

const router = new VueRouter({
    mode: 'history',
    base: process.env.BASE_URL,
    routes
})

export default router